package xuegao.study.mall.rbac.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xuegao.study.mall.common.model.ums.UmsDepartmentAdmin;
import xuegao.study.mall.rbac.service.UmsDepartmentAdminService;
import xuegao.study.mall.repo.dao.ums.UmsDepartmentAdminDao;

@Service
public class UmsDepartmentAdminServiceImpl implements UmsDepartmentAdminService {

    @Autowired
    private UmsDepartmentAdminDao umsDepartmentAdminDao;

    @Override
    public int save(UmsDepartmentAdmin umsDepartmentAdmin) {
        return umsDepartmentAdminDao.insert(umsDepartmentAdmin);
    }
}
